package com.moyun.finance.repository;

import com.moyun.finance.entity.OrgDept;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface OrgDeptRepository extends JpaRepository<OrgDept,String>, JpaSpecificationExecutor<OrgDept> {
    List<OrgDept> findByCompanyId(String companyId);
}
